8295795: hsdis does not build with binutils 2.39+
authorRobbin Ehn <rehn@openjdk.org>
Fri, 24 Apr 2026 01:36:40 +0000 (13:36 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Fri, 24 Apr 2026 01:36:40 +0000 (13:36 +1200)
commit90f0e6d4953ee1cd65bfd349d444d28a76dff938
tree66b4ba86c0528cf39f105613d0cd2bd2ca7b97bc
parenta58113d42aa0cd1482daae4b594c3f5d7c33b71f
8295795: hsdis does not build with binutils 2.39+

Origin: upstream, https://github.com/openjdk/jdk/commit/c2efd7741202a5e3c209de62b8b5e6bd8ae7611a
Bug: https://bugs.openjdk.org/browse/JDK-8295795
Last-Update: 2024-03-12

 binutils 2.39 changed the signature of init_disassemble_info,
 breaking the build.
 See https://lore.kernel.org/bpf/20220622231624.t63bkmkzphqvh3kx@alap3.anarazel.de/T/

Gbp-Pq: Name jdk-8295795.patch
make/autoconf/lib-hsdis.m4
src/utils/hsdis/binutils/hsdis-binutils.c